home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Reverse Code Engineering RCE CD +sandman 2000
/
ReverseCodeEngineeringRceCdsandman2000.iso
/
RCE
/
Ebooks
/
Web Programming Unleashed
/
f6-17.gif
< prev
next >
Tile
Graphics Interchange Format
|
2000-05-25
|
26.9 KB
|
641x503
|
8-bit (250 colors)
ocr:
CilbutionlouttonAjava JL JX File Edit View Version 11 Button 1.java import Java.awt.Button: import Java.awt.Label; import Java.awt.Event; public class ButtonA extends Java.applet.Applet € Button b; public void init() - € b = new Button(UELCOHE"): add(b): show(). 3 public boolean action(Event e, Object obj) f if ((Button)e.target).getLabel) == "WELCOME") € b.setLabel("GOOD-BYE"): 1 else if ((Button)e.targetarget).getLabel0 === "GOOD-BYE") € b.setLabel("WELCOME"): 3 return true; 3 3 Line: 13 Column: 15 Changed Writable V Reuse